package com.zone.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * ATM钞箱机构对象 zone_atm_cassette_repair_record
 * 
 * @author liuyang
 * @date 2025-10-30
 */
public class AtmCassetteRepairRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID，自增 */
    private Long id;

    /** 钞箱编号 */
    @Excel(name = "钞箱编号")
    private String cassetteId;

    /** 送修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repairTime;

    /** 交还状态 */
    @Excel(name = "交还状态")
    private String returnStatus;

    /** 交还时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交还时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCassetteId(String cassetteId) 
    {
        this.cassetteId = cassetteId;
    }

    public String getCassetteId() 
    {
        return cassetteId;
    }

    public void setRepairTime(Date repairTime) 
    {
        this.repairTime = repairTime;
    }

    public Date getRepairTime() 
    {
        return repairTime;
    }

    public void setReturnStatus(String returnStatus) 
    {
        this.returnStatus = returnStatus;
    }

    public String getReturnStatus() 
    {
        return returnStatus;
    }

    public void setReturnTime(Date returnTime) 
    {
        this.returnTime = returnTime;
    }

    public Date getReturnTime() 
    {
        return returnTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cassetteId", getCassetteId())
            .append("repairTime", getRepairTime())
            .append("returnStatus", getReturnStatus())
            .append("returnTime", getReturnTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
